export default [
  {
    path: '/login',
    layout: false,
    component: './login',
  },
  {
    path: '/',
    component: '@/layouts/BasicLayout',
    routes: [
      {
        path: '/',
        redirect: '/home',
      },
      {
        name: '首页',
        path: '/home',
        component: './home',
        icon: 'HomeOutlined',
      },
    ],
  },

  {
    name: '权限演示',
    path: '/access',
    component: './access',
    routes: [
      {
        name: '测试',
        path: '/access/jiagou',
        component: './access',
      },
    ],
  },
];
